package com.xgd.phylw.bean;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Orderd {
    private Integer orderId;

    private Integer scheduleId;

    private String memberName;

    private Integer setRow;

    private Integer setColumn;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date buyTime;

    private Integer orderReturn;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date returnTime;

    private Schedule schedule;

    private Hall hall;

    private Movie movie;

    public Schedule getSchedule() {
        return schedule;
    }

    public void setSchedule(Schedule schedule) {
        this.schedule = schedule;
    }

    public Hall getHall() {
        return hall;
    }

    public void setHall(Hall hall) {
        this.hall = hall;
    }

    public Integer getSetRow() {
        return setRow;
    }

    public void setSetRow(Integer setRow) {
        this.setRow = setRow;
    }

    public Integer getSetColumn() {
        return setColumn;
    }

    public void setSetColumn(Integer setColumn) {
        this.setColumn = setColumn;
    }

    public Movie getMovie() {
        return movie;
    }

    public void setMovie(Movie movie) {
        this.movie = movie;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getScheduleId() {
        return scheduleId;
    }

    public void setScheduleId(Integer scheduleId) {
        this.scheduleId = scheduleId;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public Date getBuyTime() {
        return buyTime;
    }

    public void setBuyTime(Date buyTime) {
        this.buyTime = buyTime;
    }

    public Integer getOrderReturn() {
        return orderReturn;
    }

    public void setOrderReturn(Integer orderReturn) {
        this.orderReturn = orderReturn;
    }

    public Date getReturnTime() {
        return returnTime;
    }

    public void setReturnTime(Date returnTime) {
        this.returnTime = returnTime;
    }

    @Override
    public String toString() {
        return "Orderd{" +
                "orderId=" + orderId +
                ", scheduleId=" + scheduleId +
                ", memberName='" + memberName + '\'' +
                ", setRow=" + setRow +
                ", setColumn=" + setColumn +
                ", buyTime=" + buyTime +
                ", orderReturn=" + orderReturn +
                ", returnTime=" + returnTime +
                ", schedule=" + schedule +
                ", hall=" + hall +
                ", movie=" + movie +
                '}';
    }
}